package com.business.bean.record;

import java.util.Date;

import lombok.Getter;
import lombok.Setter;
import net.sf.rose.jdbc.bean.ModelBean;
import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;
import net.sf.rose.jdbc.bean.annotation.View;

/**
 * @author fengjian E-mail: 9110530@qq.com
 * @version 创建时间：2019年9月21日
 */
@Setter
@Getter
@Table(name = "REC_DISPATCH_CAR", description = "派车记录表")
@View(name = "REC_DISPATCH_CAR_VIEW", description = "派车记录视图")
public class DispatchCarRecord extends ModelBean {

	@Column(pk = true, type = Type.定长文本, description = "记录编号", canNull = false, size = 32, policy = "UUID")
	private String recordID = null;

	@Column(type = Type.定长文本, description = "工程调度编号", size = 32)
	private String dispatchWorkID = null;

	@Column(type = Type.定长文本, description = "车辆编号", size = 32)
	private String carID = null;

	@Column(type = Type.变长文本, description = "车辆名称", size = 30)
	private transient String carName = null;

	@Column(type = Type.变长文本, description = "车牌号", size = 30)
	private transient String carNo = null;

	@Column(type = Type.数字整型, description = "客座数量")
	private transient int seatSum = 0;

	@Column(type = Type.定长文本, description = "派车员编号", size = 32)
	private String userID = null;

	@Column(type = Type.变长文本, description = "派车员姓名", size = 50)
	private transient String userName = null;

	@Column(type = Type.定长文本, description = "驾驶员编号", size = 32)
	private String driverID = null;

	@Column(type = Type.变长文本, description = "驾驶员姓名", size = 50)
	private transient String driverName = null;

	@Column(type = Type.变长文本, description = "行车路线", size = 250)
	private String carRoute = null;

	@Column(type = Type.日期时间, description = "用车时间")
	private Date useTime = null;

}
